package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @auther clj
 * @create 2020-02-19 16:22
 * 这里的辅助均衡时完全使用自己定义的,所以RestTemplate Bean上没有添加@LoadBalanced注解
 */
@SpringBootApplication
@EnableDiscoveryClient //该注解用于向使用consul或者zookeeper作为注册中心时注册服务
public class OrderCustomerRibbonMain83 {
    public static void main(String[] args) {
        SpringApplication.run(OrderCustomerRibbonMain83.class, args);
    }
}